package zsy.test.json;

import cn.hutool.core.annotation.Alias;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zhangshuaiyin
 * @date 2022/7/1 13:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DataInfo {

    @JSONField(name = "Name")
    @JsonProperty("Name")
    @Alias("Name")
    private String name;

    @JSONField(name = "Code")
    @JsonProperty("Code")
    @Alias("Code")
    private String code;
}
